home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Atari Mega Archive 1
/
Atari Mega Archive - Volume 1.iso
/
lists
/
gem
/
l_0399
/
14
< prev
next >
Wrap
Internet Message Format
|
1994-08-27
|
1KB
From: error@stack.urc.tue.nl (Erlend Nagel)
Subject: Re: Colour.
Date: Mon, 30 May 1994 14:48:13 +0200 (MET DST)
In-Reply-To: <Pine.3.87.9405300202.A15807-0100000@undergrad> from "Timothy Miller" at May 30, 94 02:49:02 am
Mime-Version: 1.0
Precedence: bulk
Timothy Miller wrote:
> Are you sure programmers are going to want to put forth that effort?
> It's much easier to just stick together your palette. How about someone
> write a library routine that, given a new palette, sorts them with respect
> to the palette in place?
I don't think that just a library routine is good enough for this
purpose. I think a better solution would be to have colour handling
installed as a cookie or something like that and only have library
routines as a mapping. That way the functions can easily be upgraded and
older programs will be able to use newer implementations of the colour
handling. I could imagine that earlier versions would not have
sufficient locking facilities, so that no two programs change the same
colour at once, but that later ones do. Having a common routine would
also save a little bit of memory in a multitasking environment.
Erlend.